<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="Concurrent.Thread.js"> </script>
    <!--<script type="text/javascript">-->
        <!--var i = 0;-->
        <!--while ( 1 ) {-->
            <!--document.body.innerHTML += i++ + " <br>";-->
        <!--}-->
    <!--</script>-->


    <!--<script type="text/javascript">-->
        <!--Concurrent.Thread.create(function(){-->
            <!--var i = 0;-->
            <!--while ( 1 ) {-->
                <!--document.body.innerHTML += i++ + " <br>";-->
            <!--}-->
        <!--});-->
    <!--</script>-->


    <script type="text/javascript">
        function f ( i ){
            while ( 1 ) {
                document.body.innerHTML += i++ + " <br>";
            }
        }
        Concurrent.Thread.create(f, 0);
        Concurrent.Thread.create(f, 100000);
    </script>
</head>
<body>

</body>
</html>